<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018\8\27 0027
 * Time: 21:54
 */
include_once "GraphicFactory.php";
include_once "TextFactory.php";
class Client{
    private $someGraphicObject;
    private $someTextObject;
    public function __construct()
    {
        $this->someGraphicObject = new GraphicFactory();
        echo $this->someGraphicObject->atartFactory()."<br/>";
        $this->someTextObject  = new TextFactory();
        echo $this->someTextObject->atartFactory()."<br/>";
    }
}
new Client();